package com.example.shopdemo.repository;

import com.example.shopdemo.entity.HeadLine;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author ：Anitaxiaofeng
 * @description：
 * @create 2018-01-24
 **/
public interface HeadLineRepository extends JpaRepository<HeadLine,Long> {

    List<HeadLine> findByEnableStatus(Integer enableStatus);
}
